import request from '@/utils/request'
//

//获取水机列表
export function getCheckItemList(params) {
    return request({
        url: '/property/check/item',
        method: 'get',
        params
    })
}

//获取社区详情
export function getCheckItemDetail(params) {
    return request({
        url: '/property/check/item/detail',
        method: 'get',
        params
    })
}
export function getCheckItemSelectList(params) {
    return request({
        url: '/property/check/item/alllist',
        method: 'get',
        params
    })
}
//添加
export function createCheckItem(data) {
    return request({
        url: '/property/check/item/create',
        method: 'post',
        data
    })
}

//修改
export function updateCheckItem(data) {
    return request({
        url: '/property/check/item/update',
        method: 'put',
        data
    })
}


//修改
export function changeCheckItemFiledStatus(data) {
    return request({
        url: '/property/check/item/changeFiledStatus',
        method: 'put',
        data
    })
}


//删除
export function delCheckItem(data) {
    return request({
        url: '/property/check/item/delete',
        method: 'delete',
        data
    })
}


